<!-- MENU -->
<p><a id="homebutton" href="index.php">Home</a></p>

<?php
	//MENU IF LOGGED IN
if (isset($_SESSION['username'])) {

?>
	<p><a id="memorybutton" href="index.php?act=memory">Memory</a></p>
	<p><a id="playgroundbutton" href="index.php?act=playground">Playground</a></p>
	<p><a id="logoutbutton" href="index.php?act=logout">Log Out ( <?php echo $_SESSION['username']; ?> )</a></p>
<?php
} else {
	//MENU IF NOT LOGGED IN
?>
	<p><a id="loginbutton" href="index.php?act=login">Log In</a></p>
	<p><a id="registerbutton" href="index.php?act=register">Register</a></p>
<?php
}
?>
